package de.wiroo.setup.web.comp;

import org.apache.wicket.Component;
import org.apache.wicket.model.IModel;

import de.stefanocke.roo.wicket.RooTableCellComponent;
import de.wiroo.setup.domain.Part;
import de.wiroo.setup.web.common.ListViewPanel;


@RooTableCellComponent(modelClass=Part.class)
public class PartDetailsList extends ListViewPanel<Part> {

	public PartDetailsList(String id, IModel<Part> model) {
		super(id, model);
	}

	@Override
	protected Component createItemComponent(String id) {	
		return new PartDetails(id);
	}

}
